/*
 * Employee.java
 *
 * Created on March 15, 2007, 1:58 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.samlam;

/**
 * Employee
 * @author Sam
 */
public class Employee extends BusinessObject{
    
    private String firstName;
    private String lastName;
    private String hireDate;
    private String position;
    private String phone;
    private String salary;
    
    
    /**
     * Creates a new instance of Employee
     * @param id id
     */
    public Employee(String id) {
        super(id);
    }


    /**
     * get first name
     * @return get first name
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * set first name
     * @param firstName set first name
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
        this.setDirty(true);
    }

    /**
     * get last name
     * @return get last name
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * set last name
     * @param lastName last name
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
        this.setDirty(true);
    }

    /**
     * get hire date
     * @return get hire date
     */
    public String getHireDate() {
        return hireDate;
    }

    /**
     * set hire date
     * @param hireDate hire date
     */
    public void setHireDate(String hireDate) {
        this.hireDate = hireDate;
        this.setDirty(true);
    }

    /**
     * get position
     * @return get position
     */
    public String getPosition() {
        return position;
    }

    /**
     * set position
     * @param position position
     */
    public void setPosition(String position) {
        this.position = position;
        this.setDirty(true);
    }

    /**
     * phone
     * @return get phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * set phone
     * @param phone phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
        this.setDirty(true);
    }

    /**
     * get salary
     * @return get salary
     */
    public String getSalary() {
        return salary;
    }

    /**
     * set salary
     * @param salary salary
     */
    public void setSalary(String salary) {
        this.salary = salary;
        this.setDirty(true);
    }
    
}
